<?php

class Class_Config

{
    public static function get($key){
        global $config;
if (!empty($key) and !empty ($config [$key] ))
        
{
    return $config[$key];    
}
else
    die('variable de configuracion no existe');
    
}
    
}
?>